package com.aaa.service.impl;


import com.aaa.dao.GoodsDao;
import com.aaa.pojo.Goods;
import com.aaa.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsDao goodsDao;
    @Override
    public List<Goods> findAllGoods() {
        return goodsDao.findAllGoods();
    }
}
